﻿<UserControl xmlns:ArgusControls="clr-namespace:ArgusControls;assembly=ArgusControls"  x:Class="Fractals.FractalImage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="450" SizeChanged="UserControl_SizeChanged_1" Background="White" Loaded="UserControl_Loaded_1">
	<Grid x:Name="canvas" Background="White">
		<Grid.Clip>
			<RectangleGeometry>
				<RectangleGeometry.Rect>
					<Rect X="0" Y="0" Width="450" Height="300"/>
				</RectangleGeometry.Rect>
			</RectangleGeometry>
		</Grid.Clip>
		<Image x:Name="cImage" Height="300" Width="450" Stretch="None"/>
		<Image x:Name="cImageCross" Height="300" Width="450" Stretch="None"/>
		<Image x:Name="cImageRectangle" Height="300" Width="450" Stretch="None"/>
		<ArgusControls:FloatingControl  x:Name="RectSelection" Visibility="Collapsed" Background="Blue" Opacity="0.5" BorderBrush="White" BorderThickness="2">
			<Grid>
				<TextBlock Text="{Binding Resource.FractalImageRectSelectionToolTip, Mode=OneWay, Source={StaticResource LocalizedStrings}}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
				<ArgusControls:DoubleClickLayer MouseDoubleLeftClick="DoubleClickLayer_MouseDoubleLeftClick_1" />
			</Grid>
		</ArgusControls:FloatingControl>
	</Grid>
</UserControl>
